package org.kinglone.back.article.service;

import java.math.BigInteger;
import java.util.List;

import org.kinglone.back.article.model.Article;
import org.kinglone.common.dao.BaseDao;
import org.kinglone.common.pager.PageModel;
import org.kinglone.common.util.PageQuery;
import org.kinglone.common.util.PageResults;

public interface ArticleService extends BaseDao<Article> {


    PageResults<Article> findArticleByPage(PageQuery pageQuery, String title);

	List<Article> findByPage(PageModel pageModel,String classifyId,String title);

	List<Article> getByClassifyId(String classifyId);

	List<Article> getArticleByNum();

	BigInteger getArticleCount(String classifyId);

	Article findUpperArticleById(String publishDatetime);

	Article findNextArticleById(String publishDatetime);


}
